package com.ydd.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "  热门置顶文章数据详情(首页)")
public class TopNewArticleDetailVO {
    @ApiModelProperty(value = "分类名", required = true)
    private String catename;

    @ApiModelProperty(value = "文章标题", required = true)
    private String title;

    @ApiModelProperty(value = "文章作者", required = true)
    private String author;

    @ApiModelProperty(value = "文章关键字", required = true)
    private String keywords;

    @ApiModelProperty(value = "文章描述", required = true)
    private String description;

    @ApiModelProperty(value = "文字标签")
    private String tags;

    @ApiModelProperty(value = "是否置顶，1是，0否", required = true)
    private Integer istop;

    @ApiModelProperty(value = "是否热门推荐，1是，0否", required = true)
    private Integer ishot;

    @ApiModelProperty(value = "创建时间", required = true)
    @JsonProperty("create_date")
    private Integer createDate;

    @ApiModelProperty(value = "阅读次数", required = true)
    private Integer click;

    @ApiModelProperty(value = "图片地址")
    private String pic;

    @ApiModelProperty(value = "点赞数量", required = true)
    private String lovenum;



}